docs: add docs GtkTextBufferTargetInfo
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Tue, 21 Jan 2014 01:46:02 +0000 (20:46 -0500)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Tue, 21 Jan 2014 18:33:19 +0000 (13:33 -0500)
gtk/gtktextbuffer.h

index c0457160258271c3d768a6d875a32691a341f874..e3f083ab919ad0a35d5c1ad00c6ac068b861c64f 100644 (file)
@@ -43,11 +43,18 @@ G_BEGIN_DECLS
  * GtkTextBTree is the PRIVATE internal representation of it.
  */
 
-/* these values are used as "info" for the targets contained in the
- * lists returned by gtk_text_buffer_get_copy,paste_target_list()
+/**
+ * GtkTextBufferTargetInfo:
+ * @GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS: Buffer contents
+ * @GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT: Rich text
+ * @GTK_TEXT_BUFFER_TARGET_INFO_TEXT: Text
  *
- * the enum counts down from G_MAXUINT to avoid clashes with application
- * added drag destinations which usually start at 0.
+ * These values are used as "info" for the targets contained in the
+ * lists returned by gtk_text_buffer_get_copy_target_list() and
+ * gtk_text_buffer_get_paste_target_list().
+ *
+ * The values counts down from <literal>-1</literal> to avoid clashes
+ * with application added drag destinations which usually start at 0.
  */
 typedef enum
 {